<template>
  <div id="right">
    <breadcrumb :index="index" :mannage="mannage" :List="List" />
    <el-card>
      <el-table stripe style="width: 100%">
        <el-table-column type="index"></el-table-column>
        <el-table-column label="权限名字"></el-table-column>
        <el-table-column label="路径"></el-table-column>
        <el-table-column label="权限等级"></el-table-column>
      </el-table>
    </el-card>
  </div>
</template>

<script>
import Breadcrumb from "../Breadcrumb/Breadcrumb";
import { getRight } from "@/api/power";
export default {
  data() {
    return {
      index: "首页",
      mannage: "权限管理",
      List: "权限等级",
      RightList: {},
    };
  },
  components: {
    Breadcrumb,
  },
  created() {
    this.reqRight()
  },
  methods: {
    /* 请求权限数据 */
    async reqRight() {
      const data = await getRight();
      console.log(data);
    },
  },
};
</script>

<style>
</style>